
public class Main {
    public static void main(String[] args) throws InterruptedException {
        CDshop shop=new CDshop();
        GetInThread getInThread=new GetInThread(shop);
        SellThread sellThread1=new SellThread(shop);
        SellThread sellThread2=new SellThread(shop);
        SellThread sellThread3=new SellThread(shop);
        SellThread sellThread4=new SellThread(shop);
        SellThread sellThread5=new SellThread(shop);
        SellThread sellThread6=new SellThread(shop);
        LendThread lendThread=new LendThread(shop);
        getInThread.start();
        sellThread1.start();
        sellThread2.start();
        sellThread3.start();
        sellThread4.start();
        sellThread5.start();
        sellThread6.start();
        lendThread.start();
        Thread.sleep(1000*20);
    }
}